<template>
  <div>
    <el-container>
      <el-aside width="auto">
        <CommonAside></CommonAside>
      </el-aside>
      <el-container>
        <el-header>
          <common-header />
        </el-header>
        <common-tag />
        <el-main>
          <!-- 子路由的出口 -->
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import CommonAside from '../components/CommonAside.vue'
import CommonHeader from './CommonHeader.vue';
import CommonTag from './CommonTag.vue';
export default {
  name: "Layout",
  data() {
    return {

    };
  },
  // 引入组件
  components:{
    CommonAside,
    CommonHeader,
    CommonTag
  }
};
</script>

<style lang="less" scoped>
  .el-header{
    padding: 0px;
  }
</style>